package com.knowledge.knowledge_notes.service;

import com.knowledge.knowledge_notes.dto.UserDTO;
import com.knowledge.knowledge_notes.pojo.LoginUser;

import java.util.List;

public interface UserService {

    public boolean isExist(String username);

    public LoginUser findByUserName(String username);

    public LoginUser get(String username, String password);

    public void add(LoginUser user);

    public List<UserDTO> list();

    void editUser(LoginUser requestUser);
}
